﻿using Microsoft.Identity.Client;
using SqlSugar;

namespace _RobotInspection.Entities
{
    /// <summary>
    /// 关注事项
    /// </summary>
    public class attention_item
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public attention_item()
        {

        }

        /// <summary>
        /// 自增主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long id { get; set; }

        /// <summary>
        /// 点检记录ID
        /// </summary>
        public long record_id { get; set; }

        /// <summary>
        /// 上报人ID
        /// </summary>
        public long user_id { get; set; }

        /// <summary>
        /// 异常名称
        /// </summary>
        public string abnormal_name { get; set; }

        /// <summary>
        /// 异常描述
        /// </summary>
        public string? abnormal_description { get; set; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime reported_at { get; set; }
    }
}
